package com.baizhi.dao;

import com.baizhi.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserDAO {
    User login(User user);

    boolean save(User user);

    boolean deleteUser(String name);

    List<User> findAllUser();
}